CSharpTest.Net
AddRangeSorted(IEnumerable<KeyValuePair<TKey,TValue>>,Boolean) Method
See Also  Send Feedback Download Help File
CSharpTest.Net.BPlusTree Assembly > CSharpTest.Net.Collections Namespace > BPlusTree<TKey,TValue> Class > AddRangeSorted Method : AddRangeSorted(IEnumerable<KeyValuePair<TKey,TValue>>,Boolean) Method

items
The ordered list of items to insert
allowUpdates
True to overwrite any existing records

Glossary Item Box

Optimized insert of presorted key/value pairs. If the input is not presorted, please use AddRange() instead.

Syntax

Visual Basic (Declaration) 
Public Overloads Function AddRangeSorted( _
   ByVal items As IEnumerable(Of KeyValuePair(Of TKey,TValue)), _
   ByVal allowUpdates As Boolean _
) As Integer
C# 
public int AddRangeSorted( 
   IEnumerable<KeyValuePair<TKey,TValue>> items,
   bool allowUpdates
)

Parameters

items
The ordered list of items to insert
allowUpdates
True to overwrite any existing records

Return Value

The total number of records inserted or updated

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys